
function fetch(){
    return Promise.resolve(1);
}

fetch()
.then((value)=>{
    console.log(value)
    return Promise.resolve(2);
})
.then(value2=>{
    console.log(value2)
})
